Skip to content

Conversation

@raushan-skyflow
Copy link
Contributor

@raushan-skyflow raushan-skyflow commented Jun 26, 2025

This PR updates the error response to align with the recent changes introduced in Node SDK v2 & other server side SDK, where the errors key is set to null when no errors are present, instead of returning an empty array.

Why:

  • To maintain consistency of response formats across all server side SDKs.

Outcome:

  • It will return None in case of empty array response.
  • Improves SDK response with latest Node SDK V2 response structure incase of empty error array.

Test:

  • Locally & with unit test.

@raushan-skyflow raushan-skyflow force-pushed the raushan/SK-2142-return-none-on-empty-error-response branch from 3f33fb4 to 9ba4d96 Compare June 26, 2025 17:12
@raushan-skyflow raushan-skyflow merged commit c3095a9 into release/25.6.2 Jul 2, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants